package com.james;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Scanner;

public class hello {
    public static void main(String[] args) {
        //System.out.println("hello12321");
//        System.out.println();
//        int[] arr = new int[3];
        //int[] arr1 = {1, 2, 3};
        //System.out.println(arr1.length);
        //System.out.println(Arrays.stream(arr1).min());
//        isNumber(10);
//        for (int start=0,end=arr1.length;start<=end;start++,end--){
//            System.out.println();
//        }

//
//        StringBuffer s = new StringBuffer();
//        s.append("hello");
//        s.toString();
//        System.out.println(s);
//
//        String s1="word";
//
//        StringBuffer sb=new StringBuffer(s1);
//        System.out.println(sb);
        ArrayList<String> al = new ArrayList<>();
        al.add(0,"test");
        //al.get(0);
        al.set(0,"iiiiii");
        al.remove(0);
        System.out.println(al.size());
    }

    /**
     * 数组是引用类型
     *
     * @param b
     */
    public static void isNumber(int b) {
        System.out.println(b);
    }


}
